package com.portico.dept.solarch

class ProjectRisks {

    String severity ;
    String description ;
    String remediation ;
    String currentStatus  ;
    Date createdOn ;

    Project project ;

    static belongsTo = [project:Project]

    static constraints = {
      severity inList:(["High", "Medium", "Low"])
      description blank:false, maxSize:4000
      currentStatus inList:(["Open", "Closed", "onIce"])
    }
}
